Automattic\WooCommerce\Blocks\Templates\SingleProductTemplateCompatibility S

Total Complexity 36
Dependencies 0
Dependents 2
Total lines 482
Lines of code 331
Logical lines of code 96
Comment lines 99
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
inject_hook_to_first_and_last_blocks()
A
41 5 77
inject_custom_attributes_to_first_and_last_block_single_product_template()
S
47 6 41
set_hook_data()
S
40 1 82
has_single_product_template_blocks()
S
58 5 15
group_blocks()
S
56 4 19
inject_hooks()
S
54 3 23
wrap_single_product_template()
S
56 3 19
serialize_blocks()
S
63 2 12
add_compatibility_layer()
S
64 2 10
create_wrap_block_group()
S
61 1 15
is_custom_html()
S
77 2 3
inject_hooks_after_the_wrapper()
S
63 1 12
update_render_block_data()
S
82 1 3